import 'package:json_annotation/json_annotation.dart';

part 'navi_data_article.g.dart';

@JsonSerializable()
class NaviDataArticle{
  String? superChapterName;
  int? publishTime;
  int?  visible;
  String?  niceDate;
  String?  projectLink;
  String?  author;
  String?  prefix;
  int?  zan;
  String?  origin;
  String?  chapterName;
  String?  link;
  String?  title;
  int?  type;
  int?  userId;
  String?  apkLink;
  String?  envelopePic;
  int?  chapterId;
  int?  superChapterId;
  int?  id;
  bool?  fresh;
  bool?  collect;
  int?  courseId;
  String?  desc;

  NaviDataArticle({this.superChapterName, this.publishTime, this.visible, this.niceDate, this.projectLink, this.author, this.prefix, this.zan, this.origin, this.chapterName, this.link, this.title, this.type, this.userId, this.apkLink, this.envelopePic, this.chapterId, this.superChapterId, this.id, this.fresh, this.collect, this.courseId, this.desc});

  factory NaviDataArticle.fromJson(Map<String, dynamic> srcJson) =>
      _$NaviDataArticleFromJson(srcJson);

  Map<String, dynamic> toJson() => _$NaviDataArticleToJson(this);
}